package com.stylefeng.guns.modular.hhtb.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.hhtb.model.Configs;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 系统配置表 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-29
 */
public interface ConfigsMapper extends BaseMapper<Configs> {

    /**
     * 查询列表
     * @return
     */
    List<Map<String,Object>> configsAllist(@Param(value = "pages") Page<Map<String,Object>> pages, @Param(value = "configs")Configs configs);

    /**
     * 查询数量
     * @return
     */
    Integer configsAllistCount(@Param(value = "configs") Configs configs);
    String selectValue (Map<String,Object> map);

}
